function act() {
    var rand = new java.util.Random();
    var j=rand.nextInt(50);
    var i=rand.nextInt(2);
    if(i==0){
	rm.spawnMonster(9300010, -j, -211);
    }else{
	rm.spawnMonster(9300010, j, -211);
    }
}